package com.example.milktea.entity;

public class Store {
    private Integer store_number;
    private Integer store_id;

    private Integer material_id;
    private boolean lack_flag;

    public Store() {
    }

    public Store(Integer material_id,Integer store_number) {
        this.material_id = material_id;
        this.store_number = store_number;
    }

    public void setStoreNumber(Integer store_number){ this.store_number=store_number; }
    public Integer getStoreNumber(){ return this.store_number; }

    public void setStoreId(Integer store_id){ this.store_id=store_id; }
    public Integer getStoreId(){ return this.store_id; }

    //以下为新增
    public Integer getMaterial_id() {
        return material_id;
    }

    public void setMaterial_id(Integer material_id) {
        this.material_id = material_id;
    }

    public boolean isLack_flag() {
        return lack_flag;
    }

    public void setLack_flag(boolean lack_flag) {
        this.lack_flag = lack_flag;
    }

    @Override
    public String toString() {
        return "Store{" +
                "store_number=" + store_number +
                ", store_id=" + store_id +
                ", material_id=" + material_id +
                ", lack_flag=" + lack_flag +
                '}';
    }

}
